import 'package:amap_flutter_base/amap_flutter_base.dart';
import 'package:json_annotation/json_annotation.dart';
part 'ebike_setg.dart';

@JsonSerializable()
class EbikeSet {
  int? id;
  int? power_warn;
  int? power_value;
  int? leave_lock;
  int? leave_countdown;
  int? open_lock;
  int? open_lock_distance;
  int? hitchs_up;
  int? alarm;
  int? electronic_fence;
  Map<String, dynamic>? fence_center;
  int? fence_radius;
  int? vibration_sensitivity;
  int fly_car = 0;
  LatLng? latLng;
  EbikeSet();

  factory EbikeSet.fromJson(Map<String, dynamic> json) =>
      _$EbikeSetFromJson(json);
  Map<String, dynamic> toJson() => _$EbikeSetToJson(this);
}
